{include file="public/head"}
<body>

<header class="aui-header-default aui-header-fixed aui-header-bg">
    <div class="aui-header-center">
        <span>商城</span>
    </div>
</header>
<div class="aui-content-box">
    <div class="aui-banner-content aui-fixed-top" data-aui-slider>
        <div class="aui-banner-wrapper">
            {volist name="BannerList" id="v"}
            <div class="aui-banner-wrapper-item">
                <a href="{$v.dizhi}">
                    <img src="{$v.url}" style="width: 100%;max-height: 20rem;">
                </a>
            </div>
            {/volist}
        </div>
        <div class="aui-banner-pagination"></div>
    </div>
    

    <div class="aui-dri"></div>
<!--    <div class="aui-list-content">-->
<!--        {volist name="ClassList" id="v"}-->
<!--        <div class="aui-list-item">-->
<!--            <div class="aui-list-item-img">-->
<!--                <img src="{$v.img_url}" alt="">-->
<!--            </div>-->
<!--            <div class="aui-slide-box">-->
<!--                <div class="aui-slide-list">-->
<!--                    <ul class="aui-slide-item-list">-->
<!--                        {volist name="$v.Goods" id="vv"}-->
<!--                        <li class="aui-slide-item-item">-->
<!--                            <a href="{:url('Goods/GoodsDetail',array('goods_id'=>$vv.id))}" class="v-link">-->
<!--                                <img class="v-img" src="{$vv.logo_url}">-->
<!--                                <p class="aui-slide-item-title aui-slide-item-f-els">{$vv.name}</p>-->
<!--                                <p class="aui-slide-item-info">-->
<!--                                    <span class="aui-slide-item-price">¥{$vv.price}</span>-->
<!--                                </p>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                        {/volist}-->
<!--                    </ul>-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
<!--        {/volist}-->
<!--    </div>-->
<!--    background-color: #f64414;-->
    
    <div class="aui-recommend" style="line-height: 2.6rem;color: #429385;">
        <!--        <img src="__STATIC__/User/img/bg/icon-tj1.jpg" alt="">-->
        <!--<h2 style="font-weight: bold;font-size: 1.3rem">琨溢商城</h2>-->
        <h2 style="font-weight: bold;font-size: 1.3rem">拼团专区</h2>
    </div>
    <section class="aui-list-product">
        <div class="aui-list-product-box">
            {volist name="pinList" id="gv"}
            <a href="{:url('Goods/GoodsDetail',array('goods_id'=>$gv.id))}" class="aui-list-product-item">
                <div class="aui-list-product-item-img">
                    <img src="{$gv.logo_url}" alt="">
                </div>
                <div class="aui-list-product-item-text" style="height:57px">
                    <h3>{$gv.name}</h3>
                    <div class="aui-list-product-mes-box">
                        <div>
							<span class="aui-list-product-item-price">
								<em>¥</em>
								{$gv.price}
							</span>
<!--                            <span class="aui-list-product-item-del-price">-->
<!--								¥495.65-->
<!--							</span>-->
                        </div>
                        <!--<div class="aui-comment">炁点可抵：{$gv.proportion*100}%</div>-->
                    </div>
                </div>
            </a>
            {/volist}

        </div>
    </section>
    
    
</div>

<footer class="aui-footer-default aui-footer-fixed">
    <a href="{:url('Index/App')}" class="aui-footer-item">
        <span class="aui-footer-item-icon aui-icon aui-footer-icon-home"></span>
        <span class="aui-footer-item-text">首页</span>
    </a>
    <a href="{:url('Index/Index')}" class="aui-footer-item">
        <span class="aui-footer-item-icon aui-icon aui-footer-icon-car"></span>
        <span class="aui-footer-item-text">商城</span>
    </a>
    <a href="{:url('Index/pin')}" class="aui-footer-item aui-footer-active">
        <span class="aui-footer-item-icon aui-icon aui-footer-icon-car"></span>
        <span class="aui-footer-item-text">拼团</span>
    </a>
<!--    <a href="{:url('Goods/ClassList')}" class="aui-footer-item">-->
<!--        <span class="aui-footer-item-icon aui-icon aui-footer-icon-class"></span>-->
<!--        <span class="aui-footer-item-text">分类</span>-->
<!--    </a>-->
    {if condition="$UserInfo.level gt 1"}
    <a href="{:url('Order/UserCart')}" class="aui-footer-item">
        <span class="aui-footer-item-icon aui-icon aui-footer-icon-car"></span>
        <span class="aui-footer-item-text">购物车</span>
    </a>
    {/if}
<!--    <a href="{:url('Order/OrderList')}" class="aui-footer-item">-->
<!--        <span class="aui-footer-item-icon aui-icon aui-footer-icon-car"></span>-->
<!--        <span class="aui-footer-item-text">订单</span>-->
<!--    </a>-->
    <a href="{:url('User/Index')}" class="aui-footer-item">
        <span class="aui-footer-item-icon aui-icon aui-footer-icon-me"></span>
        <span class="aui-footer-item-text">我的</span>
    </a>
</footer>
<script type="text/javascript" src="__STATIC__/User/js/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/User/js/aui.js"></script>
<script>
    $('#search').on('click',function () {
        var name=$("#name").val();
        if(name==""){
            alert('请输入商品名称');
        }else{
            window.location.href='/Goods/GoodsSearch/goodsname/'+name;
        }
    })
</script>
</body>
</html>